home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / freeWAIS-sf-1.1 / x / text.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-04  |  1.0 KB  |  52 lines

  1. /* WIDE AREA INFORMATION SERVER SOFTWARE:
  2.    No guarantees or restrictions.  See the readme file for the full standard
  3.    disclaimer.
  4.  
  5.    This is part of the X user-interface for the WAIS software.  Do with it
  6.    as you please.
  7.  
  8.    jonathan@Think.COM
  9. */
  10.  
  11. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  12.  
  13. /*
  14.  * $Log: text.h,v $
  15.  * Revision 1.2  1994/08/05  07:27:26  pfeifer
  16.  * Release beta 04
  17.  *
  18.  * Revision 1.1  1993/02/16  15:10:18  freewais
  19.  * Initial revision
  20.  *
  21.  * Revision 1.2  92/03/17  14:17:54  jonathan
  22.  * Prototyped functions.
  23.  * 
  24.  */
  25.  
  26. #ifndef _H_TEXT
  27. #define _H_TEXT
  28.  
  29. typedef struct textbuff {
  30.   Widget    shell;
  31.   Widget    textwindow;
  32.   Widget    status;
  33.   DocumentID     docid;
  34.   char *    text;
  35.   char *    type;
  36.   long         size;
  37. } _Textbuff, *Textbuff;
  38.  
  39. typedef struct textlist {
  40.   Textbuff thisText;
  41.   struct textlist *nextText;
  42. } _TextList, *TextList;
  43.  
  44. /* functions */
  45.  
  46. TextList NewText _AP((void));
  47. void KillText _AP((Textbuff t));
  48. Textbuff findText _AP((Widget w));
  49. Textbuff findTextDoc _AP((DocumentID doc, char* type));
  50.  
  51. #endif
  52.